export const asyncRoutes = [
  {
    path: '/index',
    name: 'index',
    // redirect: 'admin',
    component: import("@/views/main/index.vue"),
    meta: { title: '首页' },
    hidden: true
  },
  {
    path: '/newHome',
    name: 'newHome',
    component: Layout,
    meta: { title: '仪表盘' },
    hidden: true,
    children: [
      {
        path: '/newHome',
        name: 'newHome',
        hidden: true,
        component: () => import('@/views/home/index.vue'),
        meta: { title: '首页', keepAlive: true }
      }
    ]
  },
  // 班车管理
  {
    path: '/busManage',
    name: 'busManage',
    component: import("@/views/main/index.vue"),
    meta: { title: '班车管理', icon: 'busManage' },
    hidden: true,
    children: [
      {
        path: '/busManage/pathManage',
        name: 'pathManage',
        hidden: true,
        component: () => import('@/views/busManage/pathManage/index.vue'),
        meta: { title: '路线管理', keepAlive: true }
      },
      {
        path: '/busManage/busAppiont',
        name: 'busAppiont',
        hidden: true,
        component: () => import('@/views/busManage/busAppiont/index.vue'),
        meta: { title: '班车预约', keepAlive: true }
      }
    ]
  },
  // 系统设置
  {
    path: '/system',
    name: 'system',
    component: Layout,
    meta: { title: '设置', icon: 'system' },
    hidden: true,
    children: [
      {
        path: '/system/permissionManage',
        name: 'permissionManage',
        hidden: true,
        component: twoLayout,
        meta: { title: '权限管理' },
        children: [
          {
            path: '/system/permissionManage/departmentManage',
            name: 'departmentManage',
            hidden: true,
            component: () => import('@/views/system/departmentManage.vue'),
            meta: { title: '部门管理', keepAlive: true }
          },
          {
            path: '/system/permissionManage/menuManage',
            name: 'menuManage',
            hidden: true,
            component: () => import('@/views/system/menuManage.vue'),
            meta: { title: '菜单管理', keepAlive: false }
          },
          {
            path: '/system/permissionManage/userManage',
            name: 'userManage',
            hidden: true,
            component: () => import('@/views/system/userManage.vue'),
            meta: { title: '用户管理', keepAlive: true }
          },
          {
            path: '/system/permissionManage/roleManage',
            name: 'roleManage',
            hidden: true,
            component: () => import('@/views/system/roleManage.vue'),
            meta: { title: '角色管理', keepAlive: true }
          },
          {
            path: '/system/permissionManage/postAuthority',
            name: 'postAuthority',
            hidden: true,
            component: () => import('@/views/system/postAuthority.vue'),
            meta: { title: '岗位管理', keepAlive: true }
          },
          {
            path: '/system/permissionManage/evaluationUser',
            name: 'evaluationUser',
            hidden: true,
            component: () => import('@/views/system/evaluationUser.vue'),
            meta: { title: '员工评价', keepAlive: true }
          }
        ]
      }
    ]
  },
  // 工分变现
  {
    path: '/benefitDistribution',
    name: 'benefitDistribution',
    component: Layout,
    meta: { title: '工分变现' },
    hidden: true,
    children: [
      {
        path: '/benefitDistribution/taskList',
        name: 'taskList',
        hidden: true,
        meta: { title: '任务列表', keepAlive: true },
        component: () => import('@/views/benefitDistribution/taskList.vue')
      },
      {
        path: '/benefitDistribution/executionList',
        name: 'executionList',
        hidden: true,
        meta: { title: '执行列表', keepAlive: true },
        component: () => import('@/views/benefitDistribution/executionList.vue')
      },

      {
        path: '/benefitDistribution/exchangeList',
        name: 'exchangeList',
        hidden: true,
        meta: { title: '兑换列表', keepAlive: true },
        component: () => import('@/views/benefitDistribution/exchangeList.vue')
      }
    ]
  },
  // 考试管理
  {
    path: '/testManagement',
    name: 'testManagement',
    component: Layout,
    meta: { title: '考试管理' },
    hidden: true,
    children: [
      {
        path: '/testManagement/recommend',
        name: 'recommend',
        hidden: true,
        meta: { title: '推荐考试', keepAlive: true },
        component: () => import('@/views/testManagement/recommend/index.vue')
      },
      {
        path: '/testManagement/aboutManagement',
        name: 'aboutManagement',
        hidden: true,
        meta: { title: '约考管理', keepAlive: true },
        component: () => import('@/views/testManagement/aboutManagement')
      },
      {
        path: '/testManagement/readyAboutList',
        name: 'readyAboutList',
        hidden: true,
        meta: { title: '已约列表', keepAlive: true },
        component: () => import('@/views/testManagement/readyAboutList.vue')
      },
      {
        path: '/testManagement/mockExamList',
        name: 'mockExamList',
        hidden: true,
        meta: { title: '模拟考试列表', keepAlive: true },
        component: () => import('@/views/testManagement/mockExamList.vue')
      },
      {
        path: '/testManagement/mockExam',
        name: 'mockExam',
        hidden: true,
        meta: { title: '模拟考试成绩', keepAlive: true },
        component: () => import('@/views/testManagement/mockExam')
      },

      {
        path: '/testManagement/officialExam',
        name: 'officialExam',
        hidden: true,
        meta: { title: '正式考试成绩', keepAlive: true },
        component: () => import('@/views/testManagement/officialExam')
      },
      {
        path: '/testManagement/sectionPlan',
        name: 'sectionPlan',
        hidden: true,
        meta: { title: '科二计划', keepAlive: true },
        component: () => import('@/views/404')
      },
      {
        path: '/testManagement/examinationPlan',
        name: 'examinationPlan',
        hidden: true,
        meta: { title: '考试计划', keepAlive: true },
        component: () => import('@/views/testManagement/examinationPlan/index.vue')
      },
      {
        path: '/testManagement/trafficControl',
        name: 'trafficControl',
        hidden: true,
        meta: { title: '驾校助手', keepAlive: true },
        component: () => import('@/views/404') // import('@/views/testManagement/trafficControl')
      },
      {
        path: '/testManagement/audioRecord',
        name: 'audioRecord',
        hidden: true,
        meta: { title: '考试讲解记录', keepAlive: true },
        component: () => import('@/views/testManagement/audioRecord')
      },
      {
        path: '/testManagement/appointmentSubmission',
        name: 'appointmentSubmission',
        hidden: true,
        component: () => import('@/views/testManagement/appointmentSubmission.vue'),
        meta: {
          title: '上报约考记录',
          keepAlive: true
        }
      },
      {
        path: '/testManagement/mockExamScore',
        name: 'mockExamScore',
        hidden: true,
        meta: { title: '模拟成绩查询', keepAlive: true },
        component: () => import('@/views/testManagement/mockExamScore/index.vue')
      },
      {
        path: '/testManagement/examAnalysis',
        name: 'examAnalysis',
        hidden: true,
        meta: { title: '考试分析', keepAlive: true },
        component: () => import('@/views/testManagement/examAnalysis/index.vue')
      }
    ]
  },
  // 驾校管理
  {
    path: '/management',
    name: 'management',
    component: Layout,
    meta: { title: '驾校管理', icon: 'system' },
    hidden: true,
    children: [
      {
        path: '/management/campusManage',
        name: 'campusManage',
        hidden: true,
        component: () => import('@/views/drivingSchool/campusManage.vue'),
        meta: { title: '校区管理', keepAlive: true }
      },
      {
        path: '/management/information',
        name: 'information',
        hidden: true,
        component: twoLayout,
        meta: { title: '驾校信息' },
        children: [
          {
            path: '/management/information/basicInformation',
            name: 'basicInformation',
            hidden: true,
            component: () => import('@/views/drivingSchool/basicInformation.vue'),
            meta: { title: '基本信息', keepAlive: true }
          },
          {
            path: '/management/information/qualification',
            name: 'qualification',
            hidden: true,
            component: () => import('@/views/drivingSchool/qualificationInformation.vue'),
            meta: { title: '资质信息', keepAlive: true }
          },
          {
            path: '/management/information/schoolPattern',
            name: 'schoolPattern',
            hidden: true,
            component: () => import('@/views/drivingSchool/schoolPattern.vue'),
            meta: { title: '驾校图集', keepAlive: true }
          }
        ]
      },
      {
        path: '/management/siteManagement',
        name: 'siteManagement',
        hidden: true,
        component: twoLayout,
        meta: { title: '场地管理' },
        children: [
          {
            path: '/management/siteManagement/siteInfomation',
            name: 'siteInfomation',
            hidden: true,
            component: () => import('@/views/drivingSchool/siteInfomation/siteInfomation.vue'),
            meta: { title: '场地信息', keepAlive: true }
          },
          {
            path: '/management/siteManagement/exaimSiteInfomation',
            name: 'exaimSiteInfomation',
            hidden: true,
            component: () => import('@/views/drivingSchool/siteInfomation/exaimSiteInfomation.vue'),
            meta: { title: '考试场设置', keepAlive: true }
          },
          {
            path: '/management/siteManagement/assessmentPoints',
            name: 'assessmentPoints',
            hidden: true,
            component: () => import('@/views/drivingSchool/assessmentPoints.vue'),
            meta: { title: '考核点', keepAlive: true }
          },
          {
            path: '/management/siteManagement/pointDemo',
            name: 'pointDemo',
            hidden: true,
            component: () => import('@/views/drivingSchool/pointDemo.vue'),
            meta: { title: '打点demo', keepAlive: true }
          },
          {
            path: '/management/siteManagement/electronicFenceSet',
            name: 'electronicFenceSet',
            hidden: true,
            component: () => import('@/views/drivingSchool/electronicFenceSet.vue'),
            meta: { title: '电子围栏设置', keepAlive: true }
          }
        ]
      },
      {
        path: '/management/vehicleManagement',
        name: 'vehicleManagement',
        hidden: true,
        component: twoLayout,
        meta: { title: '车辆管理' },
        children: [
          //     {
          //     path: "/management/vehicleManagement/vehicleInformation",
          //     name: "vehicleInformation",
          //     hidden: true,
          //     component: () =>
          //         import ("@/components/drivingSchool/vehicleInformation.vue"),
          //     meta: { title: "车辆信息" },
          // },
          {
            path: '/management/vehicleManagement/coachCarManage',
            name: 'coachCarManage',
            hidden: true,
            component: () => import('@/views/drivingSchool/coachCarManage.vue'),
            meta: { title: '教练车管理', keepAlive: true }
          },
          {
            path: '/management/vehicleManagement/simulatorManage',
            name: 'simulatorManage',
            hidden: true,
            component: () => import('@/views/drivingSchool/simulatorManage.vue'),
            meta: { title: '模拟器管理', keepAlive: true }
          },
          {
            path: '/management/vehicleManagement/vehicleMaintenance',
            name: 'vehicleMaintenance',
            hidden: true,
            component: () => import('@/views/drivingSchool/vehicleMaintenance/index.vue'),
            meta: { title: '车辆维护', keepAlive: true }
          },
          {
            path: '/management/vehicleManagement/earlyWarning',
            name: 'earlyWarning',
            hidden: true,
            component: () => import('@/views/drivingSchool/earlyWarning/index.vue'),
            meta: { title: '预警配置', keepAlive: true }
          },
          {
            path: '/management/vehicleManagement/oilGasCardManage',
            name: 'oilGasCardManage',
            hidden: true,
            component: () => import('@/views/drivingSchool/oilGasCardManage/index.vue'),
            meta: { title: '油气卡管理', keepAlive: true }
          }
        ]
      },
      {
        path: '/management/coachManagement',
        name: 'coachManagement',
        hidden: true,
        component: twoLayout,
        meta: { title: '教练管理' },
        children: [
          {
            path: '/management/coachManagement/coachInformation',
            name: 'coachInformation',
            hidden: true,
            component: () => import('@/views/drivingSchool/coachManage/coachInformation.vue'),
            meta: { title: '教练信息', keepAlive: true }
          },
          {
            path: '/management/coachManagement/coachMessage',
            name: 'coachMessage',
            hidden: true,
            component: () => import('@/views/drivingSchool/coachManage/coachMessage.vue'),
            meta: { title: '教练寄语', keepAlive: true }
          },
          {
            path: '/management/coachManagement/coachEvaluation',
            name: 'coachEvaluation',
            hidden: true,
            component: () => import('@/views/drivingSchool/coachManage/coachEvaluation.vue'),
            meta: { title: '教练评分', keepAlive: true }
          },
          {
            path: '/management/coachManagement/teachingStatistics',
            name: 'teachingStatistics',
            hidden: true,
            component: () => import('@/views/drivingSchool/teachingStatistics.vue'),
            meta: { title: '课时统计', keepAlive: true }
          }
        ]
      },
      {
        path: '/management/service',
        name: 'service',
        hidden: true,
        component: twoLayout,
        meta: { title: '服务管理' },
        children: [
          {
            path: '/management/service/contractClass',
            name: 'contractClass',
            hidden: true,
            component: () => import('@/views/drivingSchool/contractClass.vue'),
            meta: { title: '合同班型', keepAlive: true }
          },

          {
            path: '/management/service/evaluationSystem',
            name: 'evaluationSystem',
            hidden: true,
            component: () => import('@/views/drivingSchool/evaluationSystem.vue'),
            meta: { title: '评价体系', keepAlive: true }
          },
          {
            path: '/management/service/securitySystem',
            name: 'securitySystem',
            hidden: true,
            component: () => import('@/views/drivingSchool/securitySystem.vue'),
            meta: { title: '安全体系', keepAlive: true }
          },
          {
            path: '/management/service/conferenceRecord',
            name: 'conferenceRecord',
            hidden: true,
            component: () => import('@/views/drivingSchool/conferenceRecord/index.vue'),
            meta: { title: '会议记录', keepAlive: true }
          },
          {
            path: '/management/service/conferenceType',
            name: 'conferenceType',
            hidden: true,
            component: () => import('@/views/drivingSchool/conferenceRecord/conferenceType.vue'),
            meta: { title: '会议记录类型', keepAlive: true }
          }
        ]
      },
      {
        path: '/management/setCenter',
        name: 'setCenter',
        hidden: true,
        component: twoLayout,
        meta: { title: '设置中心' },
        children: [
          {
            path: '/management/setCenter/classTypeMins',
            name: 'classTypeMins',
            hidden: true,
            component: () => import('@/views/drivingSchool/setting/classTypeMins/index.vue'),
            meta: { title: '班型时长配置', keepAlive: true }
          },
          {
            path: '/management/setCenter/engineManage',
            name: 'engineManage',
            hidden: true,
            component: () => import('@/views/drivingSchool/engineManage/index.vue'),
            meta: { title: '车机登录配置', keepAlive: true }
          },
          {
            path: '/management/setCenter/contract',
            name: 'contract',
            hidden: true,
            component: () => import('@/views/drivingSchool/setting/contract/index.vue'),
            meta: { title: '合同管理', keepAlive: true }
          },
          {
            path: '/management/setCenter/coachRule',
            name: 'coachRule',
            hidden: true,
            component: () => import('@/views/drivingSchool/setting/coachRule/index.vue'),
            meta: { title: '教练分配规则', keepAlive: true }
          },
          {
            path: '/management/setCenter/restDaySet',
            name: 'restDaySet',
            hidden: true,
            component: () => import('@/views/drivingSchool/restDaySet.vue'),
            meta: { title: '休息日设置', keepAlive: true }
          },
          {
            path: '/management/setCenter/appointmentConfig',
            name: 'appointmentConfig',
            hidden: true,
            component: () => import('@/views/drivingSchool/setting/appointmentConfig/index.vue'),
            meta: { title: '约课配置', keepAlive: true }
          },
          {
            path: '/management/setCenter/schedulingRule',
            name: 'schedulingRule',
            hidden: true,
            component: () => import('@/views/drivingSchool/setting/schedulingRule/index.vue'),
            meta: { title: '约排课规则配置', keepAlive: true }
          },
          {
            path: '/management/setCenter/simuRestDaySet',
            name: 'simuRestDaySet',
            hidden: true,
            component: () => import('@/views/drivingSchool/simuRestDaySet.vue'),
            meta: { title: '模拟器休息日设置', keepAlive: true }
          },
          {
            path: '/management/setCenter/teachResSet',
            name: 'teachResSet',
            hidden: true,
            component: () => import('@/views/drivingSchool/teachResSet.vue'),
            meta: { title: '排课资源设置', keepAlive: true }
          },
          {
            path: '/management/setCenter/smallProject',
            name: 'smallProject',
            hidden: true,
            component: () => import('@/views/drivingSchool/smallProject.vue'),
            meta: { title: '小项目配置', keepAlive: true }
          },
          {
            path: '/management/setCenter/serverSet',
            name: 'serverSet',
            hidden: true,
            component: () => import('@/views/drivingSchool/serverSet.vue'),
            meta: { title: '客服设置', keepAlive: true }
          },
          {
            path: '/management/setCenter/setFocus',
            name: 'setFocus',
            hidden: true,
            component: () => import('@/views/drivingSchool/setFocus.vue'),
            meta: { title: '计划配置', keepAlive: true }
          },
          {
            path: '/management/setCenter/drivingQuestion',
            name: 'drivingQuestion',
            hidden: true,
            component: () => import('@/views/drivingSchool/drivingQuestion/index.vue'),
            meta: { title: '驾校问答配置', keepAlive: true }
          },
          {
            path: '/management/setCenter/noticeContent',
            name: 'noticeContent',
            hidden: true,
            component: () => import('@/views/drivingSchool/noticeContent/index.vue'),
            meta: { title: '通知内容', keepAlive: true }
          },
          {
            path: '/management/setCenter/previewContent',
            name: 'previewContent',
            hidden: true,
            component: () => import('@/views/drivingSchool/previewContent/index.vue'),
            meta: { title: '预习图文', keepAlive: true }
          },
          {
            path: '/management/setCenter/studentTermSet',
            name: 'studentTermSet',
            hidden: true,
            component: () => import('@/views/drivingSchool/studentTermSet.vue'),
            meta: { title: '学员有效期规则配置', keepAlive: true }
          },
          {
            path: '/management/setCenter/dictionaryConfig',
            name: 'dictionaryConfig',
            hidden: true,
            component: () => import('@/views/drivingSchool/dictionaryConfig/index.vue'),
            meta: { title: '字典配置', keepAlive: true }
          },
          {
            path: '/management/studentIdentifyingSet',
            name: 'studentIdentifyingSet',
            hidden: true,
            component: () => import('@/views/drivingSchool/studentIdentifyingSet/index.vue'),
            meta: { title: '学员标签设置', keepAlive: true }
          }
        ]
      },
      {
        path: '/management/journal',
        name: 'journal',
        hidden: true,
        component: twoLayout,
        meta: { title: '日志管理' },
        children: [
          {
            path: '/management/journal/operationLog',
            name: 'operationLog',
            hidden: true,
            component: () => import('@/views/drivingSchool/operationLog.vue'),
            meta: { title: '操作日志', keepAlive: true }
          }
        ]
      },
      {
        path: '/management/appHome',
        name: 'appHome',
        hidden: true,
        component: twoLayout,
        meta: { title: '学员端首页' },
        children: [
          {
            path: '/management/appHome/articleManage',
            name: 'articleManage',
            hidden: true,
            component: () => import('@/views/drivingSchool/appHome/articleManage.vue'),
            meta: { title: '文章', keepAlive: true }
          },
          {
            path: '/management/appHome/bannerManage',
            name: 'bannerManage',
            hidden: true,
            component: () => import('@/views/drivingSchool/appHome/bannerManage.vue'),
            meta: { title: 'Banner', keepAlive: true }
          }
        ]
      },
      //档案柜管理
      {
        path: '/management/archives',
        name: 'archives',
        hidden: true,
        component: () => import('@/views/drivingSchool/archives/index.vue'),
        meta: { title: '档案柜管理', keepAlive: true }
      },
      //班型管理
      {
        path: '/management/classManagement',
        name: 'classManagement',
        hidden: true,
        component: () => import('@/views/drivingSchool/classManagement/index.vue'),
        meta: { title: '班型管理', keepAlive: true }
      },
      {
        path: '/scheduleCourses/classType',
        name: 'classType',
        hidden: true,
        meta: { title: '驾校班型管理', keepAlive: true },
        component: () => import('@/views/scheduleCourses/classType/index.vue')
      },
      { //微中控管理
        path: '/management/microControl',
        name: 'microControl',
        hidden: true,
        component: twoLayout,
        meta: { title: '微中控管理', keepAlive: true },
        children: [
          {
            path: '/management/microControl/vehicleRelationship',
            name: 'vehicleRelationship',
            hidden: true,
            component: () => import('@/views/drivingSchool/microControl/vehicleRelationship.vue'),
            meta: { title: '车辆关系', keepAlive: true }
          }
        ]

      }
    ]
  },
  // 财务管理
  {
    path: '/financeManage',
    name: 'financeManage',
    component: Layout,
    meta: { title: '财务管理' },
    hidden: true,
    children: [
      {
        path: '/financeManage/flowSheet',
        name: 'flowSheet',
        hidden: true,
        meta: { title: '财务流水', keepAlive: true },
        component: () => import('@/views/financeManage/flowSheet.vue')
      },
      {
        path: '/financeManage/payConfig',
        name: 'payConfig',
        hidden: true,
        meta: { title: '支付方式配置', keepAlive: true },
        component: () => import('@/views/financeManage/payConfig/index.vue')
      },
      {
        path: '/financeManage/channelConfig',
        name: 'channelConfig',
        hidden: true,
        meta: { title: '渠道配置', keepAlive: true },
        component: () => import('@/views/financeManage/channelConfig.vue')
      },
      {
        path: '/financeManage/financialDetail',
        name: 'financialDetail',
        hidden: true,
        meta: { title: '财务明细', keepAlive: true },
        component: () => import('@/views/financeManage/financialDetail.vue')
      },

      //学员收支流水
      {
        path: '/financeManage/feeRecords',
        name: 'feeRecords',
        hidden: true,
        meta: { title: '学员收费记录', keepAlive: true },
        component: () => import('@/views/financeManage/feeRecords/index.vue')
      },
      // 其他收支流水
      {
        path: '/financeManage/outFeeRecords',
        name: 'outFeeRecords',
        hidden: true,
        meta: { title: '其他收费记录', keepAlive: true },
        component: () => import('@/views/financeManage/outFeeRecords/index.vue')
      },
      {
        path: '/financeManage/studentFlow',
        name: 'studentFlow',
        hidden: true,
        meta: { title: '学员收支流水', keepAlive: true },
        component: () => import('@/views/financeManage/studentFlow.vue')
      },
      //学员收支流水
      {
        path: '/financeManage/studentFlowPermission',
        name: 'studentFlowPermission',
        hidden: true,
        meta: { title: '学员收支流水(个人权限)', keepAlive: true },
        component: () => import('@/views/financeManage/studentFlowPermission.vue')
      },
      //驾校收支流水
      {
        path: '/financeManage/schoolFlow',
        name: 'schoolFlow',
        hidden: true,
        meta: { title: '驾校收支流水', keepAlive: true },
        component: () => import('@/views/financeManage/schoolFlow.vue')
      },
      //费用类型配置
      {
        path: '/financeManage/costConfig',
        name: 'costConfig',
        hidden: true,
        meta: { title: '费用配置项', keepAlive: true },
        component: () => import('@/views/financeManage/costConfig.vue')
      },

      //流水作废记录
      {
        path: '/financeManage/flowingVoid',
        name: 'flowingVoid',
        hidden: true,
        meta: { title: '流水作废记录', keepAlive: true },
        component: () => import('@/views/financeManage/flowingVoid.vue')
      },
      //流水统计列表
      {
        path: '/financeManage/flowStatistics',
        name: 'flowStatistics',
        hidden: true,
        meta: { title: '流水统计列表', keepAlive: true },
        component: () => import('@/views/financeManage/flowStatistics/index.vue')
      },
      // 考试应收设置
      {
        path: '/financeManage/examRevenue',
        name: 'examRevenue',
        hidden: true,
        meta: { title: '考试应收设置', keepAlive: true },
        component: () => import('@/views/financeManage/examRevenue.vue')
      }
    ]
  },
  // 课程管理
  {
    path: '/courseManage',
    name: 'courseManage',
    component: Layout,
    meta: { title: '课程管理', icon: 'system' },
    hidden: true,
    children: [
      {
        path: '/courseManage/projectFlow',
        name: 'projectFlow',
        hidden: true,
        component: twoLayout,
        meta: { title: '小科目通关' },
        children: [
          {
            path: '/courseManage/projectFlow/schedule',
            name: 'schedule',
            component: () => import('@/views/courseManage/projectFlow/schedule/index.vue'),
            meta: { title: '通关进度', keepAlive: true }
          },
          {
            path: '/courseManage/projectFlow/record',
            name: 'record',
            component: () => import('@/views/courseManage/projectFlow/record/index.vue'),
            meta: { title: '操作记录', keepAlive: true }
          },
          {
            path: '/courseManage/projectFlow/clearanceDispute',
            name: 'clearanceDispute',
            component: () => import('@/views/courseManage/projectFlow/clearanceDispute/index.vue'),
            meta: { title: '通关争议管理', keepAlive: true }
          }
        ]
      },
      {
        path: '/courseManage/appiontPunish',
        name: 'appiontPunish',
        hidden: true,
        component: () => import('@/views/studentManage/appiontPunish/index.vue'),
        meta: { title: '约课惩处记录', keepAlive: true }
      },
      {
        path: '/courseManage/curriculum',
        name: 'curriculum',
        hidden: true,
        component: () => import('@/views/courseManage/lessonOverview/index.vue'),
        meta: { title: '课表总览', keepAlive: true }
      },
      {
        path: '/courseManage/trainingRecords',
        name: 'trainingRecords',
        hidden: true,
        component: () => import('@/views/courseManage/trainingRecords.vue'),
        meta: { title: '培训管理', keepAlive: true }
      },
      {
        path: '/courseManage/appointmentManage',
        name: 'appointmentManage',
        hidden: true,
        component: () => import('../views/courseManage/appointmentManage.vue'),
        meta: { title: '约课管理', keepAlive: true }
      },
      {
        path: '/courseManage/courseFeedbacks',
        name: 'courseFeedbacks',
        hidden: true,
        component: () => import('@/views/courseManage/courseFeedback.vue'),
        meta: { title: '课表反馈', keepAlive: true }
      },
      {
        path: '/courseManage/jobNumberScheduling',
        name: 'jobNumberScheduling',
        hidden: true,
        component: () => import('@/views/courseManage/jobNumberScheduling.vue'),
        meta: { title: '工号排班配置', keepAlive: true }
      },
      {
        path: '/courseManage/jobNumConfigs',
        name: 'jobNumConfigs',
        hidden: true,
        component: () => import('@/views/courseManage/jobNumConfigs.vue'),
        meta: { title: '工号配置', keepAlive: true }
      },
      {
        path: '/courseManage/coursePlan',
        name: 'coursePlan',
        hidden: true,
        meta: { title: '课程计划', keepAlive: true },
        component: () => import('@/views/courseManage/coursePlan.vue')
      },
      {
        path: '/courseManage/lessonCheckTable',
        name: 'lessonCheckTable',
        hidden: true,
        component: () => import('@/views/courseManage/lessonCheckTable.vue'),
        meta: { title: '排课查看表', keepAlive: true }
      },
      {
        path: '/courseManage/intentionQuestion',
        name: 'intentionQuestion',
        hidden: true,
        component: () => import('@/views/courseManage/intentionQuestion.vue'),
        meta: { title: '意向问卷', keepAlive: true }
      },
      {
        path: '/courseManage/courseStudent',
        name: 'courseStudent',
        hidden: true,
        component: () => import('@/views/courseManage/courseStudent/index.vue'),
        meta: { title: '排课学员列表', keepAlive: true }
      },
      {
        path: '/courseManage/signInSignOut',
        name: 'signInSignOut',
        hidden: true,
        component: () => import('@/views/courseManage/signInSignOut.vue'),
        meta: { title: '签到签退规则', keepAlive: true }
      },
      {
        path: '/courseManage/recommendationList',
        name: 'recommendationList',
        hidden: true,
        component: () => import('@/views/courseManage/recommendationList.vue'),
        meta: { title: '推荐列表', keepAlive: true }
      },
      {
        path: '/courseManage/coachStatistics',
        name: 'coachStatistics',
        hidden: true,
        component: () => import('@/views/courseManage/coachStatistics.vue'),
        meta: { title: '教练课时统计', keepAlive: true }
      },
      {
        path: '/courseManage/examSimulationCount',
        name: 'examSimulationCount',
        hidden: true,
        component: () => import('@/views/courseManage/examSimulationCount/index.vue'),
        meta: { title: '考场模拟统计', keepAlive: true }
      },
      {
        path: '/courseManage/learnCarEvaluate',
        name: 'learnCarEvaluate',
        hidden: true,
        component: () => import('@/views/courseManage/learnCarEvaluate/index.vue'),
        meta: { title: '课程评价', keepAlive: true }
      },
      {
        path: '/scheduleCourses/trainingProgram',
        name: 'trainingProgram',
        hidden: true,
        meta: { title: '培训方案管理', keepAlive: true },
        component: () => import('@/views/scheduleCourses/trainingProgram/index.vue')
      },
      {
        path: '/scheduleCourses/coursePlanManage',
        name: 'coursePlanManage',
        hidden: true,
        meta: { title: '排课计划管理', keepAlive: true },
        component: () => import('@/views/scheduleCourses/coursePlanManage/index.vue')
      },
      {
        path: '/scheduleCourses/scheduleClasses',
        name: 'scheduleClasses',
        hidden: true,
        meta: { title: '学员约课管理', keepAlive: true },
        component: () => import('@/views/scheduleCourses/scheduleClasses/index.vue')
      },
      {
        path: '/scheduleCourses/scheduleRules',
        name: 'scheduleRules',
        hidden: true,
        meta: { title: '约课规则管理', keepAlive: true },
        component: () => import('@/views/scheduleCourses/scheduleRules/index.vue')
      },
      {
        path: '/scheduleCourses/periodManage',
        name: 'periodManage',
        hidden: true,
        meta: { title: '培训时段管理', keepAlive: true },
        component: () => import('@/views/scheduleCourses/periodManage/index.vue')
      },
      {
        path: '/scheduleCourses/coachLeave',
        name: 'coachLeave',
        hidden: true,
        meta: { title: '教练请假管理', keepAlive: true },
        component: () => import('@/views/scheduleCourses/coachLeave/index.vue')
      },
      {
        path: '/scheduleCourses/arrangeCourseResource',
        name: 'arrangeCourseResource',
        hidden: true,
        meta: { title: '排课资源管理', keepAlive: true },
        component: () => import('@/views/scheduleCourses/arrangeCourseResource/index.vue')
      },
      {
        path: '/scheduleCourses/contractedRecords',
        name: 'contractedRecords',
        hidden: true,
        meta: { title: '约课记录管理', keepAlive: true },
        component: () => import('@/views/scheduleCourses/contractedRecords/index.vue')
      }
    ]
  },
  // 学员管理
  {
    path: '/studentManage',
    name: 'studentManage',
    component: Layout,
    meta: { title: '学员管理', icon: 'system' },
    hidden: true,
    children: [
      {
        path: '/studentManage/studentList',
        name: 'studentList',
        hidden: true,
        component: () => import('@/views/studentManage/learningStudents/studentList.vue'),
        meta: { title: '学员列表', keepAlive: true }
      },
      {
        path: '/studentManage/learningStudent',
        name: 'learningStudent',
        hidden: true,
        component: () => import('@/views/studentManage/learningStudents/index.vue'),
        meta: { title: '在学学员', keepAlive: true }
      },
      {
        path: '/studentManage/delegatePages',
        name: 'delegatePages',
        hidden: true,
        component: () => import('@/views/studentManage/delegatePages.vue'),
        meta: { title: '代理学员', keepAlive: true }
      },
      {
        path: '/studentManage/studentDetail',
        name: 'studentDetail',
        hidden: true,
        component: () => import('@/views/studentManage/studentDetail.vue'),
        meta: { title: '学员信息' }
      },
      {
        path: '/studentManage/followInfo',
        name: 'followInfo',
        hidden: true,
        component: () => import('@/views/studentManage/followInfo.vue'),
        meta: { title: '跟进信息' }
      },

      {
        path: '/studentManage/graduatesStudent',
        name: 'graduatesStudent',
        hidden: true,
        component: () => import('@/views/studentManage/graduatesStudent.vue'),
        meta: { title: '毕业学员', keepAlive: true }
      },
      {
        path: '/studentManage/leaveStudent',
        name: 'leaveStudent',
        hidden: true,
        component: () => import('@/views/studentManage/leaveStudent.vue'),
        meta: { title: '退学学员', keepAlive: true }
      },
      {
        path: '/studentManage/designatedCoach',
        name: 'designatedCoach-bak',
        hidden: true,
        component: () => import('@/views/studentManage/designatedCoach.vue'),
        meta: { title: '学员指定教练', keepAlive: true }
      },
      {
        path: '/studentManage/singlePerson',
        name: 'singlePerson-bak',
        hidden: true,
        component: () => import('@/views/studentManage/singlePerson.vue'),
        meta: { title: '关单人', keepAlive: true }
      },
      {
        path: '/studentManage/regionalManager',
        name: 'regionalManager',
        hidden: true,
        component: () => import('@/views/studentManage/regionalManager.vue'),
        meta: { title: '区域经理管理', keepAlive: true }
      },
      {
        path: '/studentManage/agentArea',
        name: 'agentArea',
        hidden: true,
        component: () => import('@/views/studentManage/agentArea.vue'),
        meta: { title: '代理区域管理', keepAlive: true }
      },
      {
        path: '/studentManage/messageSend',
        name: 'messageSend',
        hidden: true,
        component: () => import('@/views/studentManage/messageSend.vue'),
        meta: { title: '消息通知', keepAlive: true }
      },
      {
        path: '/studentManage/sendTemplate',
        name: 'sendTemplate',
        hidden: true,
        component: () => import('@/views/studentManage/sendTemplate.vue'),
        meta: { title: '发送通知模板', keepAlive: true }
      },
      {
        path: '/studentManage/messageDetail',
        name: 'messageDetail',
        hidden: true,
        component: () => import('@/views/studentManage/messageDetail.vue'),
        meta: { title: '消息详情' }
      },
      {
        path: '/studentManage/timingStatus',
        name: 'timingStatus',
        hidden: true,
        component: () => import('@/views/studentManage/timingStatus.vue'),
        meta: { title: '学时管理', keepAlive: true }
      },
      {
        path: '/studentManage/bindCoachRecord',
        name: 'bindCoachRecord',
        hidden: true,
        component: () => import('@/views/studentManage/bindCoachRecord.vue'),
        meta: { title: '更换绑定教练记录', keepAlive: true }
      },
      {
        path: '/studentManage/classChangeList',
        name: 'classChangeList',
        hidden: true,
        component: () => import('@/views/studentManage/classChangeList/index.vue'),
        meta: { title: '班型变更记录', keepAlive: true }
      },
      {
        path: '/studentManage/attentionTemplate',
        name: 'attentionTemplate',
        hidden: true,
        component: () => import('@/views/studentManage/attentionTemplate/index.vue'),
        meta: { title: '关注学员设置', keepAlive: true }
      },
      {
        path: '/studentManage/attentionList',
        name: 'attentionList',
        hidden: true,
        component: () => import('@/views/studentManage/attentionTemplate/attentionList.vue'),
        meta: { title: '关注学员列表', keepAlive: true }
      },
      {
        path: '/studentManage/expiredStudent',
        name: 'expiredStudent',
        hidden: true,
        component: () => import('@/views/studentManage/expiredStudent/index.vue'),
        meta: { title: '过期学员', keepAlive: true }
      }
    ]
  },
  // 招生管理
  {
    path: '/enrollmentManagement',
    name: 'enrollmentManagement',
    component: Layout,
    meta: { title: '招生管理' },
    hidden: true,
    children: [
      {
        path: '/enrollmentManagement/preEntry',
        name: 'preEntry',
        hidden: true,
        component: () => import('@/views/enrollmentManagement/preEntry/index.vue'),
        meta: { title: '报名预录入', keepAlive: true }
      },
      {
        path: '/enrollmentManagement/signUpManage',
        name: 'signUpManage',
        hidden: true,
        component: () => import('@/views/enrollmentManagement/signUpManage.vue'),
        meta: { title: '报名管理', keepAlive: true }
      },
      {
        path: '/enrollmentManagement/clueManagement',
        name: 'clueManagement',
        hidden: true,
        meta: { title: '线索管理', keepAlive: true },
        component: () => import('@/views/enrollmentManagement/clueManagement/index.vue')
      },
      {
        path: '/enrollmentManagement/registrationMessage',
        name: 'registrationMessage',
        hidden: true,
        meta: { title: '报名信息', keepAlive: true },
        component: () => import('@/views/enrollmentManagement/registrationMessage.vue')
      },
      {
        path: '/enrollmentManagement/filingManage',
        name: 'filingManage',
        hidden: true,
        meta: { title: '建档管理', keepAlive: true },
        component: () => import('@/views/enrollmentManagement/filingManage.vue')
      },
      {
        path: '/enrollmentManagement/enrollmentPoster',
        name: 'enrollmentPoster',
        hidden: true,
        meta: { title: '招生海报', keepAlive: true },
        component: () => import('@/views/enrollmentManagement/posterManage/enrollmentPoster.vue')
      },
      {
        path: '/enrollmentManagement/recruitCount',
        name: 'recruitCount',
        hidden: true,
        meta: { title: '招生统计', keepAlive: true },
        component: () => import('@/views/enrollmentManagement/recruitCount/index.vue')
      },
      {
        path: '/enrollmentManagement/enrollmentAnalysis',
        name: 'enrollmentAnalysis',
        hidden: true,
        meta: { title: '招生分析', keepAlive: true },
        component: () => import('@/views/enrollmentManagement/enrollmentAnalysis/index.vue')
      },
      {
        path: '/enrollmentManagement/contractFailList',
        name: 'contractFailList',
        hidden: true,
        meta: { title: '计时数据同步预警', keepAlive: true },
        component: () => import('@/views/enrollmentManagement/contractFailList/index.vue')
      }
    ]
  },
  // 报名小程序
  {
    path: '/smallCode',
    name: 'smallCode',
    component: Layout,
    meta: { title: '预报名管理' },
    hidden: true,
    children: [
      {
        path: '/smallCode/commissionManage',
        name: 'commissionManage',
        hidden: true,
        meta: { title: '佣金管理', keepAlive: true },
        component: () => import('@/views/enrollSmallCode/commissionManage')
      },
      {
        path: '/smallCode/examineManage',
        name: 'examineManage',
        hidden: true,
        meta: { title: '审核管理', keepAlive: true },
        component: () => import('@/views/enrollSmallCode/examineManage')
      },
      {
        path: '/smallCode/goodsManage',
        name: 'goodsManage',
        hidden: true,
        meta: { title: '商品管理', keepAlive: true },
        component: () => import('@/views/enrollSmallCode/goodsManage')
      },
      {
        path: '/smallCode/agentManage',
        name: 'agentManage',
        hidden: true,
        meta: { title: '代理管理', keepAlive: true },
        component: () => import('@/views/enrollSmallCode/agentManage')
      },
      {
        path: '/smallCode/refundManage',
        name: 'refundManage',
        hidden: true,
        meta: { title: '退款管理', keepAlive: true },
        component: () => import('@/views/enrollSmallCode/refundManage')
      },
      {
        path: '/smallCode/miniHome',
        name: 'miniHome',
        hidden: true,
        meta: { title: '小程序首页', keepAlive: true },
        component: () => import('@/views/enrollSmallCode/miniHome')
      },
      {
        path: '/smallCode/withdrawalsManage',
        name: 'withdrawalsManage',
        hidden: true,
        meta: { title: '提现管理', keepAlive: true },
        component: () => import('@/views/enrollSmallCode/withdrawalsManage')
      },
      {
        path: '/smallCode/configureManage',
        name: 'configureManage',
        hidden: true,
        meta: { title: '配置管理', keepAlive: true },
        component: () => import('@/views/enrollSmallCode/configureManage')
      },
      {
        path: '/smallCode/locationManage',
        name: 'locationManage',
        hidden: true,
        meta: { title: '报名点管理', keepAlive: true },
        component: () => import('@/views/enrollSmallCode/locationManage')
      }
    ]
  },
  {
    path: '/board',
    name: 'board',
    component: boardLayout,
    meta: { title: '驾校看板' },
    hidden: true,
    children: [
      {
        path: '/board/enrollmentDynamics',
        name: 'enrollmentDynamics',
        hidden: true,
        meta: { title: '招生动态' },
        component: () => import('@/views/board/enrollmentDynamics.vue')
      },
      {
        path: '/board/financialDynamics',
        name: 'financialDynamics',
        hidden: true,
        meta: { title: '财务动态' },
        component: () => import('@/views/board/financialDynamics.vue')
      },
      {
        path: '/board/studentDynamics',
        name: 'studentDynamics',
        hidden: true,
        meta: { title: '学员动态' },
        component: () => import('@/views/board/studentDynamics.vue')
      },
      {
        path: '/board/approximateDynamics',
        name: 'approximateDynamics',
        hidden: true,
        meta: { title: '约训动态' },
        component: () => import('@/views/board/approximateDynamics.vue')
      },
      {
        path: '/board/drivingSchoolResources',
        name: 'drivingSchoolResources',
        hidden: true,
        meta: { title: '驾校资源' },
        component: () => import('@/views/board/drivingSchoolResources.vue')
      },
      {
        path: '/board/examinationDynamics',
        name: 'examinationDynamics',
        hidden: true,
        meta: { title: '考试动态' },
        component: () => import('@/views/board/examinationDynamics.vue')
      },
      {
        path: '/board/earlyWarningDynamics',
        name: 'earlyWarningDynamics',
        hidden: true,
        meta: { title: '预警动态' },
        component: () => import('@/views/board/earlyWarningDynamics.vue')
      }
    ]
  },
  {
    path: '/roboService',
    name: 'roboService',
    component: Layout,
    meta: { title: 'AI服务', icon: 'roboService' },
    hidden: true,
    children: [
      {
        path: '/roboService/messageManage',
        name: 'messageManage',
        hidden: true,
        component: () => import('@/views/roboService/messageManage/index.vue'),
        meta: { title: '消息推送', keepAlive: true }
      },
      {
        path: '/roboService/festival',
        name: 'festival',
        hidden: true,
        component: () => import('@/views/roboService/festival/index.vue'),
        meta: { title: '节日设置', keepAlive: true }
      },
      {
        path: '/roboService/namedRule',
        name: 'namedRule',
        hidden: true,
        component: () => import('@/views/roboService/namedRule/index.vue'),
        meta: { title: '群命名规则', keepAlive: true }
      },
      {
        path: '/roboService/operationTools',
        name: 'operationTools',
        hidden: true,
        component: () => import('@/views/roboService/operationTools/index.vue'),
        meta: { title: '运营工具', keepAlive: true }
      },
      {
        path: '/roboService/serviceManager',
        name: 'serviceManager',
        hidden: true,
        component: () => import('@/views/roboService/serviceManager/index.vue'),
        meta: { title: '客服管理', keepAlive: true }
      }

    ]
  },
  //理论培训管理
  {
    path: '/theoreticalTraining',
    name: 'theoreticalTraining',
    component: Layout,
    meta: { title: '理论培训管理', icon: 'system' },
    hidden: true,
    children: [
      //学时查询
      {
        path: '/theoreticalTraining/learnHours',
        name: 'learnHours',
        hidden: true,
        component: () => import('@/views/theoreticalTraining/learnHours'),
        meta: { title: '学时查询', keepAlive: true }
      },
      //学时订单
      {
        path: '/theoreticalTraining/learnHoursOrder',
        name: 'learnHoursOrder',
        hidden: true,
        component: () => import('@/views/theoreticalTraining/learnHoursModule/learnHoursOrder.vue'),
        meta: { title: '学时订单', keepAlive: true }
      },

      //教学素材
      {
        path: '/theoreticalTraining/teachingMaterials',
        name: 'teachingMaterials',
        hidden: true,
        component: () => import('@/views/theoreticalTraining/teachingMaterials/index.vue'),
        meta: { title: '教学素材', keepAlive: true }
      },
      //教学视频
      {
        path: '/theoreticalTraining/teachingVideo',
        name: 'teachingVideo',
        hidden: true,
        component: () => import('@/views/theoreticalTraining/teachingVideo/index.vue'),
        meta: { title: '教学视频', keepAlive: true }
      },

      //教学课程
      {
        path: '/theoreticalTraining/teachingCourse',
        name: 'teachingCourse',
        hidden: true,
        component: () => import('@/views/theoreticalTraining/teachingCourse/index.vue'),
        meta: { title: '教学课程', keepAlive: true }
      },

      //内容设置
      {
        path: '/theoreticalTraining/contentSet',
        name: 'contentSet',
        hidden: true,
        component: () => import('@/views/theoreticalTraining/contentSet/index.vue'),
        meta: { title: '内容设置', keepAlive: true }
      },

      {
        path: '/theoreticalTraining/talkPage',
        name: 'talkPage',
        hidden: true,
        component: () => import('@/views/theoreticalTraining/talkPage/index.vue'),
        meta: { title: '评价页面', keepAlive: true }
      }
    ]
  },
  // 财务管理
  {
    path: '/approveManage',
    name: 'approveManage',
    component: Layout,
    meta: { title: '审批管理' },
    hidden: true,
    children: [
      {
        path: '/approveManage/approveList',
        name: 'approveList',
        hidden: true,
        meta: { title: '审批列表', keepAlive: true },
        component: () => import('@/views/approveManage/approveList.vue')
      },
      {
        path: '/approveManage/myApproval',
        name: 'myApproval',
        hidden: true,
        meta: { title: '我的审批', keepAlive: true },
        component: () => import('@/views/approveManage/myApproval.vue')
      }
    ]
  },
  // 陪驾
  {
    path: '/drivingCompanion',
    name: 'drivingCompanion',
    component: Layout,
    meta: { title: '陪驾管理' },
    hidden: true,
    children: [
      {
        path: '/drivingCompanion/drivingSetting',
        name: 'drivingSetting',
        hidden: true,
        meta: { title: '排班配置', keepAlive: true },
        component: () => import('@/views/drivingCompanion/drivingSetting/index.vue')
      },
      {
        path: '/drivingCompanion/appiont',
        name: 'appiont',
        hidden: true,
        meta: { title: '陪驾预约', keepAlive: true },
        component: () => import('@/views/drivingCompanion/appiont/index.vue')
      },
      {
        path: '/drivingCompanion/drivingRecord',
        name: 'drivingRecord',
        hidden: true,
        meta: { title: '预约记录', keepAlive: true },
        component: () => import('@/views/drivingCompanion/record/index.vue')
      }
    ]
  }
]